// vars/getEnv.groovy

def call(String key) {
    def value = env."${key}"?.toString()
    println "[ShareLib] (vars/) 获取环境变量：${key}: ${value}"
    return value
}